<script setup lang='ts'>
import Child from './components/MyChild.vue'

const changeMsg = (msg:string) => {
  console.log('changeMsg',msg);
}

const changeCar = (car:string) => {
  console.log('changeCar',car);
}

</script>
<template>
  <div>
    <Child msg="harry's msg" car="比亚迪汉" @changeMsg="changeMsg" @changeCar="changeCar"/>
  </div>
</template>
<style lang='less'>
 
</style>
